From 497ba7a108c7252ff6ea1667109066f66a52881a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 7 Mar 1993 23:43:52 +0000 Subject: [PATCH] Include intervals.h. (read_key_sequence): Use get_local_map. --- src/keyboard.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 6c664169f03..a222a026723 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -35,6 +35,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "disptab.h" #include "dispextern.h" #include "keyboard.h" +#include "intervals.h" #include #include @@ -3223,7 +3224,11 @@ read_key_sequence (keybuf, bufsize, prompt) nmaps_allocated = nmaps; } bcopy (maps, submaps, (nmaps - 2) * sizeof (submaps[0])); - submaps[nmaps-2] = current_buffer->keymap; +#ifdef USE_TEXT_PROPERTIES + submaps[nmaps-2] = get_local_map (PT, current_buffer); +#else + submaps[nmaps-2] = current_buffer->local_map; +#endif submaps[nmaps-1] = global_map; } -- 2.30.2